﻿import Project = require("Project");

export interface ITrack {
    project: Project;
    track: EditoneLibRT.Track;
    guid: string;
    isAudioTrack: boolean;
    numChannels: number;
    type: string;
    name: KnockoutObservable<string>;
    color: KnockoutObservable<string>;
    volume: KnockoutObservable<number>;
    balance: KnockoutObservable<number>;
    height: KnockoutObservable<number>;
    themeClass: KnockoutComputed<string>;
}

export interface IClip {
    track: ITrack;
    clip: EditoneLibRT.Clip;
}

interface KnockoutExtenders {
    clamp(target,range);
}